package com.amumu.drama.common.modules.fulu.manager;

import com.amumu.drama.common.modules.fulu.dto.resp.FuluProductResp;
import com.amumu.drama.common.modules.fulu.service.FuluService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sunzhuang
 * @date 2024/5/13 14:26
 * @desc 微丸子-对接福禄的接口
 */

@Service
@Slf4j
public class FuLuManager {
    @Autowired
    private FuluService fuluService;

    /**
     * 返回福禄商品信息
     *
     * @return
     */
    public List<FuluProductResp> queryProductList() {
        return fuluService.queryProductList();
    }


    /**
     * 根据模板ID返回福禄商品模板信息
     *
     * @return
     */
    public String getProductTemplate(String templateId) {
        return fuluService.getProductTemplate(templateId);
    }
}
